package game;

import java.awt.Color;
import java.awt.Graphics;

public class Bullet{

	public double x,y;
	private double dx,dy;
	
	public Bullet(double dx,double dy,double x,double y) {
		this.x = x;
		this.y = y;
		this.dx = dx;
		this.dy = dy;
	}
	
	public void run(){
		x += dx;
		y += dy;
	}
	
	public void draw(Graphics g) {
		g.setColor(new Color(253,255,200));
		g.drawLine((int)x,(int)y,(int)(x-dx),(int)(y-dy));
	}
	
	public void checkCollision(){
		
	}

}
